class CactusRenderer : public BlockRenderer
{
public:
	CactusRenderer(ITexture *texture) :
		BlockRenderer(texture, Point2i(5 * 16, 4 * 16), Point2i(6 * 16, 4 * 16), Point2i(7 * 16, 4 * 16))
	{
	}

	void Render(Schematic *schematic, RendererBase *renderer, const Block &block, const Point3i &position)
	{
		renderer->Draw(Box(Texture).SetSidesInset(1).SetAll(SideTexturePosition).SetTop(TopTexturePosition).SetBottom(BottomTexturePosition));
	}
};